Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/15758 username as email validation #15769

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Sep 20, 2024

Description

Now that saving users happens via the elements/save action, we need to ensure that the email value gets used as the username when the user is saved.

I also moved the username uniqueness validation to apply only if useEmailAsUsername is false to prevent a situation where the “username is already taken” error was showing even though there was no username field to action this error through.

Related issues

#15758

@i-just i-just marked this pull request as draft September 20, 2024 11:21
@i-just i-just marked this pull request as ready for review September 20, 2024 12:43
@brandonkelly brandonkelly merged commit 7e5daf6 into 5.x Sep 20, 2024
@brandonkelly brandonkelly deleted the bugfix/15758-username-as-email-validation branch September 20, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants